package com.sea.supply.service;



import com.sea.supply.entity.QualityProduceDetail;
import com.sea.supply.entity.QualityProduceType;

import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface QualityProduceDetailService {

    /**
     * 新增
     * @param qualityProduceDetail
     * @return
     */
    int save(QualityProduceDetail qualityProduceDetail);
    /**
     * 条件查询
     * @param produceId
     * @return
     */
    List<QualityProduceDetail> findByProduceId(Integer produceId);

    void addDetail(Integer produceId);

    void updateQualityStatus(QualityProduceDetail qualityProduceDetail);
}
